﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Style x:Key="HeadingOneStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="20" />
        <Setter Property="FontWeight" Value="Bold" />
        <Setter Property="VerticalAlignment" Value="Center" />
    </Style>
    
    <Style x:Key="HeadingTwoStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="15" />
        <Setter Property="FontWeight" Value="Light" />
        <Setter Property="VerticalAlignment" Value="Center" />
    </Style>

    <Style x:Key="HeadingThreeStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="15" />
        <Setter Property="FontWeight" Value="Bold" />
        <Setter Property="VerticalAlignment" Value="Center" />
    </Style>
    
    <Style x:Key="ThingHeadingStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="30" />
        <Setter Property="FontWeight" Value="Light" />
    </Style>

    <Style x:Key="FootnoteItalicStyle" TargetType="TextBlock">
        <Setter Property="FontStyle" Value="Italic" />
        <Setter Property="FontSize" Value="10" />
        <Setter Property="FontWeight" Value="Light" />
        <Setter Property="HorizontalAlignment" Value="Left"></Setter>
    </Style>
    
    <Style x:Key="DatePickerStyle1" TargetType="{x:Type DatePicker}">
        <Setter Property="IsTodayHighlighted" Value="True"/>
        <Setter Property="SelectedDateFormat" Value="Short"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type DatePicker}">
                    <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_DisabledVisual"/>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid x:Name="PART_Root" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
                            <Grid.Resources>
                                <SolidColorBrush x:Key="DisabledBrush" Color="#A5FFFFFF"/>
                                <ControlTemplate x:Key="DropDownButtonTemplate" TargetType="{x:Type Button}">
                                    <Grid Background="#11FFFFFF" Width="25.0034" Height="25.0035">
                                        <Canvas Width="25.0034" Height="25.0035" >
                                            <Path Width="25.0034" Height="25.0035" Stretch="Fill" Fill="{StaticResource BackgroundBrush}" Data="F1 M 11.0017,36.005L 11.0017,14.002L 14.0021,14.002L 14.0021,11.0015L 19.0028,11.0015L 19.0028,14.002L 28.0039,14.002L 28.0039,11.0015L 33.0046,11.0015L 33.0046,14.002L 36.005,14.002L 36.005,36.005L 11.0017,36.005 Z M 13.0019,34.0048L 34.0047,34.0048L 34.0047,19.0027L 13.0019,19.0027L 13.0019,34.0048 Z M 16.5024,12.5017C 15.95,12.5017 15.5022,13.1734 15.5022,14.0019C 15.5022,14.8304 15.95,15.5021 16.5024,15.5021C 17.0547,15.5021 17.5025,14.8304 17.5025,14.0019C 17.5025,13.1734 17.0547,12.5017 16.5024,12.5017 Z M 30.5,12.4998C 29.9476,12.4998 29.4999,13.1715 29.4999,14C 29.4999,14.8286 29.9476,15.5002 30.5,15.5002C 31.0524,15.5002 31.5001,14.8286 31.5001,14C 31.5001,13.1715 31.0524,12.4998 30.5,12.4998 Z M 20.5994,33.0046L 18.1154,33.0046L 18.1154,23.7987C 17.2116,24.7375 16.1471,25.4314 14.9217,25.8803L 14.9217,23.3868C 15.5686,23.179 16.2709,22.7857 17.0287,22.2069C 17.7864,21.628 18.3067,20.9527 18.5895,20.1809L 20.5994,20.1809L 20.5994,33.0046 Z M 27.874,33.0046L 27.874,30.5111L 22.7286,30.5111L 22.7286,28.3822L 28.2039,20.359L 30.358,20.359L 30.358,28.3738L 31.9548,28.3738L 31.9548,30.5111L 30.358,30.5111L 30.358,33.0046L 27.874,33.0046 Z M 27.874,28.3738L 27.874,24.2551L 25.0601,28.3738L 27.874,28.3738 Z " />
                                        </Canvas>
                                    </Grid>
                                </ControlTemplate>
                            </Grid.Resources>
                            <StackPanel Orientation="Horizontal">
                                <DatePickerTextBox x:Name="PART_TextBox" Focusable="{TemplateBinding Focusable}" Width="150"/>
                                <Button x:Name="PART_Button" Focusable="False" Template="{StaticResource DropDownButtonTemplate}" Margin="-12,-2,0,0"/>
                            </StackPanel>
                            <Grid x:Name="PART_DisabledVisual" Grid.ColumnSpan="2" Grid.Column="0" IsHitTestVisible="False" Opacity="0" Grid.Row="0">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="*"/>
                                    <ColumnDefinition Width="Auto"/>
                                </Grid.ColumnDefinitions>
                                <Rectangle Grid.Column="1" Fill="#A5FFFFFF" RadiusY="1" Grid.Row="0" RadiusX="1"/>
                                <Rectangle Grid.Column="0" Fill="#A5FFFFFF" Height="18" Margin="3,0,3,0" RadiusY="1" Grid.Row="0" RadiusX="1" Width="19"/>
                                <Popup x:Name="PART_Popup" AllowsTransparency="True" Placement="Bottom" PlacementTarget="{Binding ElementName=PART_Button}" StaysOpen="False"/>
                            </Grid>
                        </Grid>
                    </Border>
                    <ControlTemplate.Triggers>
                        <DataTrigger Binding="{Binding Source={x:Static SystemParameters.HighContrast}}" Value="false">
                            <Setter Property="Foreground" TargetName="PART_TextBox" Value="{Binding Foreground, RelativeSource={RelativeSource TemplatedParent}}"/>
                        </DataTrigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>


</ResourceDictionary>